package com.study.model.jdao;

import org.springframework.data.repository.CrudRepository;

import com.study.model.pojo.Orderform;
import com.study.model.pojo.Customer;
import java.util.List;

/**
 * 订单信息
 * @author wjl
 *
 */
public interface IOrderformDAO extends CrudRepository<Orderform,Integer>{
	Orderform findByOId(int orderid);
	/**
	 * 根据客户id查询订单信息
	 * @param customer
	 * @return
	 */
	public List<Orderform> findByCustomer(Customer customer);
}
